EM\Timeranges C

Total Complexity 121
Dependencies 3
Dependents 0
Total lines 608
Lines of code 334
Logical lines of code 197
Comment lines 189
Methods 37
Properties 7

Methods 37

Method Rating Maintainability Complexity Lines of code
get_post()
B
46 18 34
has_overlapping_timeranges()
A
54 11 19
save()
S
52 7 24
generate_timeslots()
S
56 7 19
load_timeranges()
S
58 6 15
find_by()
S
58 5 16
validate()
S
58 5 15
get_time_start()
S
60 5 12
delete()
S
57 4 16
get_time_end()
S
61 4 12
remove()
S
61 4 12
is_all_day()
S
65 4 10
get_by_time_range()
S
65 4 9
add()
S
63 3 11
has_timeslots()
S
67 3 8
find()
S
68 3 8
get_first()
S
70 2 7
get_last()
S
78 2 3
to_api()
S
64 2 10
valid()
S
72 2 5
offsetSet()
S
68 2 8
offsetGet()
S
75 2 4
sort_by()
S
69 2 6
__construct()
S
81 1 3
get_timerange()
S
80 1 3
get_timeranges()
S
77 1 4
get_timeslots()
S
81 1 3
get_time_from_minutes()
S
78 1 3
get()
S
81 1 3
rewind()
S
77 1 4
current()
S
77 1 4
key()
S
77 1 4
next()
S
77 1 4
offsetExists()
S
76 1 4
offsetUnset()
S
73 1 5
count()
S
77 1 4
get_all_day()
S
79 1 3